﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Himp.TaskScheduling.Migrations
{
    /// <inheritdoc />
    public partial class modify_table_ParamConfigTask : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ParamValue",
                schema: "TaskScheduling",
                table: "TS_ParamConfigTask",
                newName: "PropertyValue");

            migrationBuilder.RenameColumn(
                name: "ParamCodg",
                schema: "TaskScheduling",
                table: "TS_ParamConfigTask",
                newName: "PropertyKey");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "PropertyValue",
                schema: "TaskScheduling",
                table: "TS_ParamConfigTask",
                newName: "ParamValue");

            migrationBuilder.RenameColumn(
                name: "PropertyKey",
                schema: "TaskScheduling",
                table: "TS_ParamConfigTask",
                newName: "ParamCodg");
        }
    }
}
